package com.faintlight.exception;

public class WarmException extends RuntimeException {
    public WarmException(String message) {
        super(message);
        System.out.println("🔥 业务异常: " + message);
    }

    public WarmException(String message, Throwable cause) {
        super(message, cause);
        System.out.println("🔥 业务异常: " + message + ", 原因: " + cause.getMessage());
    }
}
